package cn.ccit.iservers;

import java.util.List;
import java.util.Map;

import cn.ccit.entites.record.PayOrderRecord;

/**
 * 
 * @author wanghao
 * 点菜记录表（临时表）
 */
public interface IPayOrderRecordServers {
	public boolean addPayOrderRecord(PayOrderRecord doRecord);//添加记录
	public boolean removePayOrderRecord(PayOrderRecord doRecord);//移除
	public boolean changePayOrderRecordInfo(PayOrderRecord doRecord);//修改记录
	public List<PayOrderRecord> getSomePayOrderRecords(int start,int limit);//获取一定条数记录
	public Map<String,Object> searchPayOrderRecordByID(int id);//通过id搜索
	public List<PayOrderRecord> searchPayOrderRecordByYear(String year);//通过年
	public List<PayOrderRecord> searchPayOrderRecordByMonth(String month);//通过月
	public List<PayOrderRecord> searchPayOrderRecordByDate(String date);//通过日
}
